package com.lixin.mail.product;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * 1.整合mybatis-plus
 *    ① 导入依赖 mybatis-plus、mysql
 *    ② 配置yml
 *    ③ @MapperScan
 *    ④ 映射mapper = yml配置 mybatis-plus:   mapper-locations
 */
@MapperScan("com.lixin.mail.product.dao")
@EnableDiscoveryClient
@SpringBootApplication
public class MailProductApplication {

	public static void main(String[] args) {
		SpringApplication.run(MailProductApplication.class, args);
	}

}
